fn buble_sort(a : & mut Vec<i32>) {
    for i in 0..a.len() {
        for j in i..a.len() {
            if a[i] < a[j] {
                (a[i], a[j]) = (a[j], a[i]);
            }
        }
    }
}

fn main()
{
    println!("hello");
    let mut a = vec![1, 2, 3, 8, 9, 5];
    buble_sort(& mut a);
    println!("After sort");
    println!("{:?}", a);
}
